// 引入Mockjs模块
import Mock from 'mockjs';
// 把JSON数据格式引入进来
import goodsListData from '@/mock/goodsListData.json';

// mock数据：Mock.mock(参数1：请求的地址，参数2：请求的数据)
Mock.mock("/mock/goodsListData", {code:200, data:goodsListData});
